Skip to content

Blazor Library (preiview4) leaks *.razor into the host project #9650

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

Closed
chanan opened this issue Apr 22, 2019 · 2 comments
Closed

Blazor Library (preiview4) leaks *.razor into the host project #9650

chanan opened this issue Apr 22, 2019 · 2 comments
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue

Comments

@chanan
Copy link

chanan commented Apr 22, 2019

Describe the bug

After updating a Blazor Lib to preview4 we see that:

  1. When adding it to a Blazor project you can now see all the *.razor files that are in the lib
  2. Compile fails with an error: MSB3105 duplicate items in the sources parameter

To Reproduce

Install from Nuget BlazorStrap-1.0.0-preview4 and add it to a blank blazor project

It was mentioned in the Glitter channel for Blazor that this behavior has been seen in other libraries as well.

Expected behavior

*.razor should not be shown in the host project and it should compile

Screenshots

@IvanJosipovic
Copy link

Looks like this is related to #9577

@Eilon Eilon added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Apr 22, 2019
@danroth27 danroth27 added the area-blazor Includes: Blazor, Razor Components label Apr 23, 2019
@danroth27
Copy link
Member

Closing as duplicate of #9577

@danroth27 danroth27 added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label Apr 23, 2019
@mkArtakMSFT mkArtakMSFT removed area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels May 9, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

5 participants