Skip to content
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

Static web assets SDK depends on targets defined in Razor SDK #47314

Closed
maraf opened this issue Mar 20, 2023 · 1 comment · Fixed by dotnet/sdk#31359
Closed

Static web assets SDK depends on targets defined in Razor SDK #47314

maraf opened this issue Mar 20, 2023 · 1 comment · Fixed by dotnet/sdk#31359
Assignees
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug. feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly
Milestone

Comments

@maraf
Copy link
Member

maraf commented Mar 20, 2023

The static web assets SDK depends on ResolveRazorComponentInputs and ResolveRazorGenerateInputs defined in Razor SDK

https://github.com/dotnet/sdk/blob/main/src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.ScopedCss.targets#L125

Microsoft.NET.Sdk.StaticWebAssets.ScopedCss.targets(125,113): error MSB4057: The target "ResolveRazorComponentInputs"
@maraf maraf added bug This issue describes a behavior which is not expected - a bug. area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly labels Mar 20, 2023
@javiercn
Copy link
Member

@maraf good catch. I think Mackinnon is already aware of it. We can probably change this to enable scoped css conditionally on <UsingMicrosoftNETSdkRazor>true</UsingMicrosoftNETSdkRazor>

@mkArtakMSFT mkArtakMSFT added this to the 8.0-preview4 milestone Mar 21, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug. feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants