Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net 4.5.1 compiler failing #4892

Closed
wixbot opened this issue Sep 15, 2015 · 5 comments
Closed

.Net 4.5.1 compiler failing #4892

wixbot opened this issue Sep 15, 2015 · 5 comments
Milestone

Comments

@wixbot
Copy link

wixbot commented Sep 15, 2015

After installing .Net 4.5.1 with Visual Studio 2013 we are getting compiler errors;

Using derived Library Name = Dialogs.wixlib (from current the directory name)
Including en-us in the CULTURES list.
....\Compiler\Bins\candle.exe -nologo -v -pedantic -dBranding=Internal -dCat= -dRelease=Release -dPlatform=x86 -dBuildDir=Build\Products -dVBRANDING=Internal -out ".\Obj\Internal
\AdminPathDlg.wixobj" "AdminPathDlg.wxs"
candle.exe : error CNDL0001 : The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

Exception Type: System.ArgumentException

Stack Trace:
at System.Security.Policy.PEFileEvidenceFactory.GetLocationEvidence(SafePEFileHandle peFile, SecurityZone& zone, StringHandleOnStack retUrl)
at System.Security.Policy.PEFileEvidenceFactory.GenerateLocationEvidence()
at System.Security.Policy.PEFileEvidenceFactory.GenerateEvidence(Type evidenceType)
at System.Security.Policy.AssemblyEvidenceFactory.GenerateEvidence(Type evidenceType)
at System.Security.Policy.Evidence.GenerateHostEvidence(Type type, Boolean hostCanGenerate)
at System.Security.Policy.Evidence.GetHostEvidenceNoLock(Type type)
at System.Security.Policy.Evidence.GetHostEvidence(Type type, Boolean markDelayEvaluatedEvidenceUsed)
at System.Security.Policy.AppDomainEvidenceFactory.GenerateEvidence(Type evidenceType)
at System.Security.Policy.Evidence.GenerateHostEvidence(Type type, Boolean hostCanGenerate)
at System.Security.Policy.Evidence.GetHostEvidenceNoLock(Type type)
at System.Security.Policy.Evidence.RawEvidenceEnumerator.MoveNext()
at System.Security.Policy.Evidence.EvidenceEnumerator.MoveNext()
at System.Configuration.ClientConfigPaths.GetEvidenceInfo(AppDomain appDomain, String exePath, String& typeName)
at System.Configuration.ClientConfigPaths.GetTypeAndHashSuffix(AppDomain appDomain, String exePath)
at System.Configuration.ClientConfigPaths..ctor(String exePath, Boolean includeUserConfig)
at System.Configuration.ClientConfigPaths.GetPaths(String exePath, Boolean includeUserConfig)
at System.Configuration.ClientConfigurationHost.RequireCompleteInit(IInternalConfigRecord record)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, O
bject& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Xml.XmlConfiguration.XmlReaderSection.get_ProhibitDefaultUrlResolver()
at System.Xml.Schema.Parser..ctor(SchemaType schemaType, XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler eventHandler)
at System.Xml.Schema.XmlSchema.Read(XmlReader reader, ValidationEventHandler validationEventHandler)
at Microsoft.Tools.WindowsInstallerXml.Compiler..ctor()
at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Run(String[] args)

Originally opened by simon.folder

@wixbot
Copy link
Author

wixbot commented Sep 15, 2015

We are not getting this issue when we update the toolset to Wix 4.0.

Originally posted by simon.folder

@wixbot
Copy link
Author

wixbot commented Sep 15, 2015

.NET 4.5.1 works with WiX v3.10 generally. Have you tried v3.10 RTM? If you're using the binaries .zip file, did you unblock the .zip file before unzipping? Have you tried .NET 4.5.2 or 4.6?

@wixbot
Copy link
Author

wixbot commented Sep 22, 2015

We need more data to diagnose.

1 similar comment
@wixbot
Copy link
Author

wixbot commented Sep 29, 2015

We need more data to diagnose.

@wixbot
Copy link
Author

wixbot commented Oct 6, 2015

We need more data to diagnose.

Resolution set to moredata
Status changed from Untriaged to Resolved

@wixbot wixbot added this to the v3.10 milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant