carlfranklin / BlazorRepositoryDemo

A Blazor demo of implementing a generic repository that can be used on the client and the server, and includes query filtering.
42 stars 11 forks source link

Unable to load RepositoryDemo.Server via VS for MAC 2022 #2

Open iwcoetzer opened 2 years ago

iwcoetzer commented 2 years ago

Hi I cannot load the server project using Visual Studio for MAC. Any idea how I can fix this on my side? Thank you

Text content is not allowed inside a PackageReference element ... RepositoryDemo.Server.csproj

Screenshot 2022-06-14 at 21 47 57

Visual Studio Community 2022 for Mac Version 17.0.3 (build 21)

Runtime .NET 6.0.3 (64-bit) Architecture: Arm64

iwcoetzer commented 2 years ago

Tried the following, comment out two lines of code from the RepositoryDemo.Server.csproj file.

        <!--
            <PrivateAssets>all</PrivateAssets>
            <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
        -->

One step forward, can now load the server project. However, this resulted in scripting errors when debugging the application.

Screenshot 2022-06-14 at 22 07 33
carlfranklin commented 2 years ago

My guess it’s the visual studio scaffolding tools in the server project

On Tue, Jun 14, 2022 at 3:53 PM Ian Coetzer @.***> wrote:

Hi I cannot load the server project using Visual Studio for MAC. Any idea how I can fix this on my side? Thank you

Text content is not allowed inside a PackageReference element ... RepositoryDemo.Server.csproj

[image: Screenshot 2022-06-14 at 21 47 57] https://user-images.githubusercontent.com/102798239/173676226-edb76c78-e263-4d78-beb1-ee7b40c1d92d.png

Visual Studio Community 2022 for Mac Version 17.0.3 (build 21)

Runtime .NET 6.0.3 (64-bit) Architecture: Arm64

— Reply to this email directly, view it on GitHub https://github.com/carlfranklin/BlazorRepositoryDemo/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALK4DC33DI6BXO7ORAF5UDVPDPLTANCNFSM5YY4ECRA . You are receiving this because you are subscribed to this thread.Message ID: @.***>