Hi,
I have changed my project file to build for several .net framework
versions and package those up. For some reason building it on
AppVeyor keeps resulting in the original DLL being picked up for
all frameworks. Looks like only the first compile works and the
subsequent ones simply use those DLLs.
My build log
[00:00:14] CoreCompile:
[00:00:14] Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
[00:00:14] CopyFilesToOutputDirectory:
[00:00:14] RuskinDantra.Extensions -> C:\projects\extensions\RuskinDantra.Extensions\bin\Release\NET452\RuskinDantra.Extensions.dll
[00:00:14] The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (186,61)" does not exist in the project, and will be ignored.
[00:00:14] The target "_ConvertPdbFiles" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,37)" does not exist in the project, and will be ignored.
[00:00:14] The target "_CollectPdbFiles" listed in an AfterTargets attribute at "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,70)" does not exist in the project, and will be ignored.
[00:00:14] The target "_CollectMdbFiles" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets (40,38)" does not exist in the project, and will be ignored.
[00:00:14] The target "_CopyMdbFiles" listed in an AfterTargets attribute at "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets (40,71)" does not exist in the project, and will be ignored.
[00:00:14] Project "C:\projects\extensions\RuskinDantra.Extensions\RuskinDantra.Extensions.csproj" (2:19) is building "C:\projects\extensions\RuskinDantra.Extensions\RuskinDantra.Extensions.csproj" (2:20) on node 1 (default targets).
[00:00:14] GenerateTargetFrameworkMonikerAttribute:
[00:00:14] Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
[00:00:14] CoreCompile:
[00:00:14] Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
[00:00:14] CopyFilesToOutputDirectory:
[00:00:14] Copying file from "obj\Release\RuskinDantra.Extensions.dll" to "bin\Release\NET451\RuskinDantra.Extensions.dll".
[00:00:14] RuskinDantra.Extensions -> C:\projects\extensions\RuskinDantra.Extensions\bin\Release\NET451\RuskinDantra.Extensions.dll
[00:00:14] Copying file from "obj\Release\RuskinDantra.Extensions.pdb" to "bin\Release\NET451\RuskinDantra.Extensions.pdb".
[00:00:14] Done Building Project "C:\projects\extensions\RuskinDantra.Extensions\RuskinDantra.Extensions.csproj" (default targets).
Any help will be appreciated. Entire log is attached.
- log.txt 188 KB

#1 Posted by ruskin.dantra on 07 Jan, 2016 11:09 PM
I got this working in a brute force manner by doing a rebuild for each target explicitly from within my .csproj file.
ruskin.dantra closed this discussion on 07 Jan, 2016 11:09 PM.