-
Notifications
You must be signed in to change notification settings - Fork 842
Fixes to help make VisualFSharp.sln more usable #4555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
24b7c0a
eb87631
8156daf
4b828b0
4e688ee
18e1758
c9ddadd
23c6b15
edc5bd5
f08c483
cc63539
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ | |
| <NoWarn>$(NoWarn);1570;1574;1587;1591;3001,3002,3003</NoWarn> | ||
| <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference> | ||
| <UsePackageTargetFallbackHack>true</UsePackageTargetFallbackHack> | ||
| <EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
|
|
@@ -23,7 +24,7 @@ | |
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <EmbeddedResource Update="Microsoft.VisualStudio.Package.LanguageService.resx"> | ||
| <EmbeddedResource Include="Microsoft.VisualStudio.Package.LanguageService.resx"> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As mentioned below, the default globbing was incorrectly picking up resources from a project in |
||
| <Generator>ResXCodeGenerator</Generator> | ||
| <LastGenOutput>Microsoft.VisualStudio.Package.LanguageService.cs</LastGenOutput> | ||
| <CustomToolNamespace>Microsoft.VisualStudio.Package.LanguageServiceResources</CustomToolNamespace> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ | |
| <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference> | ||
| <OtherFlags>$(OtherFlags) --warnon:1182 --subsystemversion:6.00</OtherFlags> | ||
| <UsePackageTargetFallbackHack>true</UsePackageTargetFallbackHack> | ||
| <EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
|
|
@@ -28,7 +29,7 @@ | |
|
|
||
| <ItemGroup> | ||
| <!-- VSPackage.resx already included --> | ||
| <EmbeddedResource Update="FSLangSvcStrings.resx"> | ||
| <EmbeddedResource Include="FSLangSvcStrings.resx"> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto. |
||
| <GenerateSource>true</GenerateSource> | ||
| <GeneratedModuleName>Microsoft.VisualStudio.FSharp.LanguageService.Strings</GeneratedModuleName> | ||
| </EmbeddedResource> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brettfo I'm pretty sure this is normal, I think you were only using Update to avoid EnableDefaultEmbeddedResourceItems?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, I was using
Updatebecause$(EnableDefault...)was true. What's the benefit to specifying it this way, e.g., to not allowing the**/*.resxglob from running? The default behavior for SDK projects is to auto-include all*.resxfiles into the@(EmbeddedResource)item collection. I was trying to stay in line with that so that if another*.resxfile is added to this directory that it's automatically included in the group so we don't have to manually manage the files in the project.