Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Project build failing due to not finding of .productConfiguration.targets file even when it exists

$
0
0

I am getting error that the .productConfiguration.targets file is not found in a location because it is not imported and so the build is failing, while the file does exist in the location it is checking

These errors I am getting, all of them are because of the same file that it is saying it cannot find

enter image description here

While you can see the file does exist in the location.

enter image description here

Any idea?

Update

It worked when I commented below three lines in .productConfiguration.targets file

<!--<Import Project="$(MSBuildThisFileDirectory)..\..\product-config\.msbuild\TransformApplicationConfig.targets" />
  <Import Project="$(MSBuildThisFileDirectory)..\..\product-config\.msbuild\TaskConfigPreprocessor.targets" />-->

  <!--<Import Project="$(MSBuildThisFileDirectory)..\..\product-config\$(productToBuild)\configForInclude.props" />-->

So seems msbuild could not import them. It worked by commenting them but not sure it is the right way or not.

Ideally it should load.

Please suggest me the correct way to fix it


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>