Skip to content

Commit 8a24dcc

Browse files
devlooped-botkzu
authored andcommitted
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Update typed resgen to opt-in only devlooped/oss@a8b2080 - Allow seamless sleet upgrades without requiring workflow updates devlooped/oss@5e17ad6
1 parent 94f9697 commit 8a24dcc

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

.netconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
sha = 49661dbf0720cde93eb5569be7523b5912351560
3131
[file ".github/workflows/build.yml"]
3232
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
33-
etag = 35b2a5b03c26cbe7522e30b2b987e04991e8ba18accd38b7ebd88191f1698c2d
33+
etag = f358acb1e45596bf0aad49996017da44939de30b805289c4ad205a7ccb6f99cb
3434
weak
35-
sha = 7ec91019eddb4fc7e0b09118538b256087f82e18
35+
sha = 5e17ad62ebb5241555a7a4d29e3ab15e5ba120d2
3636
[file ".gitignore"]
3737
url = https://github.com/devlooped/oss/blob/main/.gitignore
3838
etag = a9c37ae312afac14b78436a7d018af4483d88736b5f780576f2c5a0b3f14998c
@@ -50,9 +50,9 @@
5050
sha = b76de49afb376aa48eb172963ed70663b59b31d3
5151
[file "src/Directory.Build.targets"]
5252
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
53-
etag = 401abade50abc5002231838a9230570604a161b6b914e1a406783deeec4031cc
53+
etag = 19087699f05396205e6b050d999a43b175bd242f6e8fac86f6df936310178b03
5454
weak
55-
sha = 92631843abefcd4cc56dc7c174ee3880bc06b0f9
55+
sha = a8b208093599263b7f2d1fe3854634c588ea5199
5656
[file "src/kzu.snk"]
5757
url = https://github.com/devlooped/oss/blob/main/src/kzu.snk
5858
skip
@@ -86,9 +86,9 @@
8686
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
8787
[file ".github/workflows/publish.yml"]
8888
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
89-
etag = e3269a4ec0a33deccb7e35b51178aa34831146a709af435fd10e659cd4dd967b
89+
etag = 2cc96046d8f28e7cbcde89ed56d3d89e1a70fb0de7846ee1827bee66b7dfbcf1
9090
weak
91-
sha = fcfc66a8735f5338f97c7292db5f4ee83a712254
91+
sha = 5e17ad62ebb5241555a7a4d29e3ab15e5ba120d2
9292
[file ".github/workflows/dotnet-file.yml"]
9393
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
9494
sha = 7afe350f7e80a230e922db026d4e1198ba15cae1

src/Directory.Build.targets

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,17 @@
106106
<RepositoryBranch Condition="'$(RepositoryBranch)' == '' and '$(BUDDY_EXECUTION_BRANCH)' != ''">$(BUDDY_EXECUTION_BRANCH)</RepositoryBranch>
107107
</PropertyGroup>
108108

109-
<PropertyGroup Condition="'$(EnableRexCodeGenerator)' == 'true'">
110-
<!-- VSCode/Razor compatibility -->
111-
<CoreCompileDependsOn>PrepareResources;$(CoreCompileDependsOn)</CoreCompileDependsOn>
109+
<PropertyGroup>
110+
<!-- Default to Just Works resources generation. See https://www.cazzulino.com/resources.html -->
111+
<CoreCompileDependsOn>CoreResGen;$(CoreCompileDependsOn)</CoreCompileDependsOn>
112112
</PropertyGroup>
113-
113+
114114
<ItemGroup>
115115
<!-- Consider the project out of date if any of these files changes -->
116116
<UpToDateCheck Include="@(None);@(Content);@(EmbeddedResource)" />
117-
<!-- We'll typically use ThisAssembly.Strings instead of the built-in resource manager codegen -->
118-
<EmbeddedResource Update="@(EmbeddedResource)" Generator="" Condition="'$(EnableRexCodeGenerator)' != 'true'" />
119-
<EmbeddedResource Update="@(EmbeddedResource)" Condition="'$(EnableRexCodeGenerator)' == 'true'">
117+
<!-- Opt-in to typed resource generation by setting custom tool to MSBuild:Compile -->
118+
<EmbeddedResource Update="@(EmbeddedResource -> WithMetadataValue('Generator', 'MSBuild:Compile'))" Type="Resx">
120119
<!-- Default to Just Works resources generation. See https://www.cazzulino.com/resources.html -->
121-
<Generator>MSBuild:Compile</Generator>
122120
<StronglyTypedFileName>$(IntermediateOutputPath)\$([MSBuild]::ValueOrDefault('%(RelativeDir)', '').Replace('\', '.').Replace('/', '.'))%(Filename).g$(DefaultLanguageSourceExtension)</StronglyTypedFileName>
123121
<StronglyTypedLanguage>$(Language)</StronglyTypedLanguage>
124122
<StronglyTypedNamespace Condition="'%(RelativeDir)' == ''">$(RootNamespace)</StronglyTypedNamespace>

0 commit comments

Comments
 (0)