Opened 11 years ago

Closed 10 years ago

#123 closed task (fixed)

MSBuild reports warning when (re-)building OpenSource.sln in VS2010

Reported by: baertelchen Owned by: baertelchen
Priority: trivial Milestone:
Component: Library Version:
Keywords: building opensource.sln msbuild Cc:


When re-building OpenSource.sln, MsBuild reports a warning, that the linker's output doesn't match the project's target name configuration.

Most of the projects have their own name set as the target name whereas the linker's options are set to emit a different file name.

For example: The Library.vcxproj's output target name is set to $(ProjectName), i.e. "Library.lib". The linker then overrides that to $(OutDir)/csmapd.lib what causes the build to report a warning.

Change History (1)

comment:1 by baertelchen, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset 2191.

The VS build had been updated follows (in CsMap\VC100):

1) Have the dictionaries being post-built for all configurations. I removed the (%PROCESSOR_ARCHITECTURE%==AMD64) check from the x64 configurations.
2) Adjusted csmap(d).lib - linker dependencies in all projects. All solution projects referenced the Library.vcxproj project already anyway.

I've now cleaned up the individual linker option pages and and re-configured the project reference settings appropriately (e.g. "copy local" to "false").

3) Changed the output of ConsoleTestCpp.vcxproj to be CS_TestCpp.exe instead of ConsoleTestCpp.exe. This is to get them in line with CS_Comp.exe and CS_Test.exe. (I haven't changed CsMapConsoleUtilities.vcxproj)

Note: See TracTickets for help on using tickets.