[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Unmodified WIX project files are automatically checked out on Save All #5444

Closed
mediawolf opened this issue Nov 29, 2016 · 3 comments
Closed
Milestone

Comments

@mediawolf
Copy link
mediawolf commented Nov 29, 2016

VS 2015 Update 3
WIX Toolset 3.10.3.3007
Windows Driver Kit - Windows 10.0.26639

  1. Open solution containing WIX projects under TFS source control
  2. File -> Save All
    WIX project files are checked out but contain no changes.

I've temporary removed "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Windows Driver Kit" folder, restarted VS and problem disappeared.

One of WDK VS extensions is looking for "PlatformToolset" in each project.
Votive extension doesn't known such property but for whatever reason it calls SetConfiguration() that somehow leads to a check-out of target project.

mscorlib.dll!System.IO.Path.CheckInvalidPathChars(string path, bool checkAdditional)	Unknown
mscorlib.dll!System.IO.Path.Combine(string path1 = "E:\\SomeProject", string path2 = "..\\..\\Intermediate\\SomeProject\\\\Release|x86\\Output\\")	Unknown
[Native to Managed Transition]	
[Managed to Native Transition]	
Microsoft.Build.dll!Microsoft.Build.Evaluation.Expander<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem>.Function<Microsoft.Build.Evaluation.ProjectProperty>.Execute(object objectInstance = null, Microsoft.Build.Evaluation.IPropertyProvider<Microsoft.Build.Evaluation.ProjectProperty> properties = {Microsoft.Build.Evaluation.Project.Data}, Microsoft.Build.Evaluation.ExpanderOptions options = ExpandProperties, Microsoft.Build.Shared.IElementLocation elementLocation = {Microsoft.Build.Construction.ElementLocation.SmallElementLocation})	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Expander<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem>.PropertyExpander<Microsoft.Build.Evaluation.ProjectProperty>.ExpandPropertyBody(string propertyBody, object propertyValue, Microsoft.Build.Evaluation.IPropertyProvider<Microsoft.Build.Evaluation.ProjectProperty> properties, Microsoft.Build.Evaluation.ExpanderOptions options, Microsoft.Build.Shared.IElementLocation elementLocation, Microsoft.Build.Evaluation.UsedUninitializedProperties usedUninitializedProperties)	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Expander<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem>.PropertyExpander<Microsoft.Build.Evaluation.ProjectProperty>.ExpandPropertiesLeaveTypedAndEscaped(string expression = "$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))", Microsoft.Build.Evaluation.IPropertyProvider<Microsoft.Build.Evaluation.ProjectProperty> properties = {Microsoft.Build.Evaluation.Project.Data}, Microsoft.Build.Evaluation.ExpanderOptions options = ExpandProperties, Microsoft.Build.Shared.IElementLocation elementLocation = {Microsoft.Build.Construction.ElementLocation.SmallElementLocation}, Microsoft.Build.Evaluation.UsedUninitializedProperties usedUninitializedProperties = {Microsoft.Build.Evaluation.UsedUninitializedProperties})	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Expander<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem>.Function<Microsoft.Build.Evaluation.ProjectProperty>.Execute(object objectInstance = null, Microsoft.Build.Evaluation.IPropertyProvider<Microsoft.Build.Evaluation.ProjectProperty> properties = {Microsoft.Build.Evaluation.Project.Data}, Microsoft.Build.Evaluation.ExpanderOptions options = ExpandProperties, Microsoft.Build.Shared.IElementLocation elementLocation = {Microsoft.Build.Construction.ElementLocation.SmallElementLocation})	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Expander<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem>.PropertyExpander<Microsoft.Build.Evaluation.ProjectProperty>.ExpandPropertyBody(string propertyBody, object propertyValue, Microsoft.Build.Evaluation.IPropertyProvider<Microsoft.Build.Evaluation.ProjectProperty> properties, Microsoft.Build.Evaluation.ExpanderOptions options, Microsoft.Build.Shared.IElementLocation elementLocation, Microsoft.Build.Evaluation.UsedUninitializedProperties usedUninitializedProperties)	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Expander<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem>.PropertyExpander<Microsoft.Build.Evaluation.ProjectProperty>.ExpandPropertiesLeaveTypedAndEscaped(string expression = "$([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`))", Microsoft.Build.Evaluation.IPropertyProvider<Microsoft.Build.Evaluation.ProjectProperty> properties = {Microsoft.Build.Evaluation.Project.Data}, Microsoft.Build.Evaluation.ExpanderOptions options = ExpandProperties, Microsoft.Build.Shared.IElementLocation elementLocation = {Microsoft.Build.Construction.ElementLocation.SmallElementLocation}, Microsoft.Build.Evaluation.UsedUninitializedProperties usedUninitializedProperties = {Microsoft.Build.Evaluation.UsedUninitializedProperties})	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Expander<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem>.PropertyExpander<Microsoft.Build.Evaluation.ProjectProperty>.ExpandPropertiesLeaveEscaped(string expression, Microsoft.Build.Evaluation.IPropertyProvider<Microsoft.Build.Evaluation.ProjectProperty> properties, Microsoft.Build.Evaluation.ExpanderOptions options, Microsoft.Build.Shared.IElementLocation elementLocation, Microsoft.Build.Evaluation.UsedUninitializedProperties usedUninitializedProperties)	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Expander<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem>.ExpandIntoStringLeaveEscaped(string expression, Microsoft.Build.Evaluation.ExpanderOptions options = ExpandProperties, Microsoft.Build.Shared.IElementLocation elementLocation = {Microsoft.Build.Construction.ElementLocation.SmallElementLocation})	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.EvaluatePropertyElement(Microsoft.Build.Construction.ProjectPropertyElement propertyElement = "TargetDir" Value="$([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`))" Condition="'$(OutDir)' != ''")	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.EvaluatePropertyGroupElement(Microsoft.Build.Construction.ProjectPropertyGroupElement propertyGroupElement)	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.PerformDepthFirstPass(Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport = "C:\\Program Files (x86)\\MSBuild\\Microsoft\\WiX\\v3.x\\wix2010.targets" #Children=189 DefaultTargets="Build" ToolsVersion="" InitialTargets="_CheckForInvalidConfigurationAndPlatform;\r\n                  _CheckRequiredProperties" ExplicitlyLoaded=true)	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.EvaluateImportElement(string directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement = Project="$(WixVersionTargetsPath)" Condition="")	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.PerformDepthFirstPass(Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport = "C:\\Program Files (x86)\\MSBuild\\Microsoft\\WiX\\v3.x\\Wix.targets" #Children=2 DefaultTargets="" ToolsVersion="" InitialTargets="" ExplicitlyLoaded=true)	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.EvaluateImportElement(string directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement = Project="$(WixTargetsPath)" Condition="")	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.PerformDepthFirstPass(Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport = "E:\\SomeProject\\SomeProject.wixproj" #Children=11 DefaultTargets="Build" ToolsVersion="12.0" InitialTargets="" ExplicitlyLoaded=true)	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.Evaluate()	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.Evaluate(Microsoft.Build.Evaluation.IEvaluatorData<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition> data, Microsoft.Build.Construction.ProjectRootElement root, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, int maxNodeCount, Microsoft.Build.Collections.PropertyDictionary<Microsoft.Build.Execution.ProjectPropertyInstance> environmentProperties, Microsoft.Build.BackEnd.Logging.ILoggingService loggingService, Microsoft.Build.Evaluation.IItemFactory<Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectItem> itemFactory, Microsoft.Build.Evaluation.IToolsetProvider toolsetProvider, Microsoft.Build.Evaluation.ProjectRootElementCache projectRootElementCache, Microsoft.Build.Framework.BuildEventContext buildEventContext, Microsoft.Build.Execution.ProjectInstance projectInstanceIfAnyForDebuggerOnly)	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary(Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation = {Microsoft.Build.BackEnd.Logging.LoggingService})	Unknown
Microsoft.Build.dll!Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary(Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation = {Microsoft.Build.BackEnd.Logging.LoggingService})	Unknown
votive2010.dll!Microsoft.VisualStudio.Package.ProjectNode.SetConfiguration(Microsoft.VisualStudio.Package.ConfigCanonicalName configCanonicalName) Line 3876	C#
**votive2010.dll**!Microsoft.Tools.WindowsInstallerXml.VisualStudio.WixProjectNode.**SetConfiguration**(Microsoft.VisualStudio.Package.ConfigCanonicalName configCanonicalName) Line 570	C#
votive2010.dll!Microsoft.VisualStudio.Package.ProjectConfig.GetMsBuildProperty(string propertyName = "PlatformToolset", bool resetCache) Line 827	C#
votive2010.dll!Microsoft.VisualStudio.Package.ProjectConfig.GetConfigurationProperty(string propertyName, bool resetCache) Line 418	C#
**votive2010.dll**!Microsoft.VisualStudio.Package.ProjectNode.Microsoft.VisualStudio.Shell.Interop.IVsBuildPropertyStorage.**GetPropertyValue**(string propertyName, string configName, uint storage, out string propertyValue = null) Line 6346	C#
[Native to Managed Transition]	
[Managed to Native Transition]	
**DriverCommonPackage.dll**!Microsoft.DriverKit.DriverCommonPackage.**GetProjectProperty**(EnvDTE.Project project, string propertyName = **"PlatformToolset"**, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy projectNode)	Unknown
DriverCommonPackage.dll!Microsoft.DriverKit.DriverCommonPackage.IsDriverProject(EnvDTE.Project proj)	Unknown
DriverCommonPackage.dll!Microsoft.DriverKit.DriverCommonPackage.IsDriverProjectLoaded()	Unknown
DriverTestPackage.dll!Microsoft.DriverKit.WdkTestPackage.Utilities.DriverDeployer.Exec(ref System.Guid pguidCmdGroup = {System.Guid}, uint nCmdId = 224, uint nCmdexecopt = 0, System.IntPtr pvaIn = {System.IntPtr}, System.IntPtr pvaOut = {System.IntPtr})	Unknown
DriverTestPackage.dll!Microsoft.DriverKit.WdkTestPackage.DriverTestPackage.Exec(ref System.Guid pguidCmdGroup, uint nCmdId, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut)	Unknown
@mediawolf mediawolf changed the title wdk Unmodified WIX project files are automatically checked out on Save All Nov 29, 2016
@rseanhall
Copy link
Contributor

Might be related to #4195.

@rseanhall rseanhall added this to the v3.x milestone Dec 6, 2016
@ddv239
Copy link
ddv239 commented Jan 24, 2017

I debugged this code and found the real root cause for this bug. I developed a code change ready to contribute as soon as I figure out how to get permission to contribute it.

@ddv239
Copy link
ddv239 commented Jan 24, 2017

I think I figured out how to fork and create a pull request, here is the fix: wixtoolset/wix3#392

barnson added a commit to wixtoolset/wix3 that referenced this issue Feb 12, 2017
@barnson barnson closed this as completed Feb 12, 2017
rseanhall pushed a commit to rseanhall/wix4-archive that referenced this issue Feb 19, 2017
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

4 participants