diff --git a/Sharpmake.Generators/VisualStudio/Vcxproj.cs b/Sharpmake.Generators/VisualStudio/Vcxproj.cs index d285d5b96..abca96287 100644 --- a/Sharpmake.Generators/VisualStudio/Vcxproj.cs +++ b/Sharpmake.Generators/VisualStudio/Vcxproj.cs @@ -1200,7 +1200,7 @@ private static bool ConfigurationNeedReferences(Project.Configuration conf) { return conf.Output == Project.Configuration.OutputType.Exe || conf.Output == Project.Configuration.OutputType.Dll - || (conf.Output == Project.Configuration.OutputType.Lib && conf.ExportAdditionalLibrariesEvenForStaticLib) + || (conf.Output == Project.Configuration.OutputType.Lib) || conf.Output == Project.Configuration.OutputType.DotNetConsoleApp || conf.Output == Project.Configuration.OutputType.DotNetClassLibrary || conf.Output == Project.Configuration.OutputType.DotNetWindowsApp;