VS 2015 Update 2 Problems

Issue #118 resolved
SquadWuschel Name
created an issue


I've got a Problem with VS 2015 Update 2:

I got the following Error Message:

Assembly definiert. Fügen Sie einen Verweis auf die Assembly "mscorlib, Version=, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes" hinzu. Gui.Mvc C:\TFS\DEV\80_Internal\Internal.Rechnungsmonitor\R1.3_Interco\10_Gui\Mvc\Scripts\TypeLite.Net4.tt 13

On my older VS 2013 the same project works fine.

Comments (7)

  1. Lukas Kabrt repo owner

    I can confirm that Portable class libraries in combination with T4 templates cause this problem in Visual Studio 2015 Update 2. I wasn't able to find better solution then retargeting TypeLITE to full. NET framework.

    From the version 1.8.0 TypeLITE nuget package contains a copy of the library that targets full .NET framework. If your project targets full .NET framework, the correct TypeLITE assembly is picked up during installation and everything works fine in Visual Studio 2015 Update 2. Unfortunately if your project targets PCL, you are out of luck with Visual Studio 2015 Update 2. I am looking for better solution.

  2. Log in to comment