Add target framework attribute

This commit is contained in:
Pavel Krymets 2015-12-15 10:32:49 -08:00
parent ce2628d527
commit caf82a96ec
3 changed files with 34 additions and 6 deletions

View file

@ -311,7 +311,7 @@ namespace Microsoft.DotNet.Tools.Compiler
compilerArgs.AddRange(compilationOptions.SerializeToArgs());
// Add metadata options
compilerArgs.AddRange(AssemblyInfoOptions.SerializeToArgs(AssemblyInfoOptions.CreateForProject(context.ProjectFile)));
compilerArgs.AddRange(AssemblyInfoOptions.SerializeToArgs(AssemblyInfoOptions.CreateForProject(context)));
foreach (var dependency in dependencies)
{