Skip to content

New csproj #37

Description

@DaniilSokolyuk

Hi!
We are migrated our projects to new csproj format (like this https://github.com/MiniProfiler/dotnet/blob/master/samples/Samples.Mvc5/Samples.Mvc5.csproj https://github.com/NickCraver/StackExchange.Exceptional/blob/master/samples/Samples.MVC5/Samples.MVC5.csproj) but the compilation does not work anymore

Thousands errors like this

C:\Work\....cs(104,22): error CS0246: The type or namespace name 'xxx' could not be found (are you missing a using directive or an assembly reference?)

Activity

  1. m0sa commented on Jan 9, 2018

    @m0sa
    Contributor

    Can you please provide more details on how exactly you're building the project / solution, and what types are missing?

    Note that the test projects in the master branch is also using <PackageReference>. I did not attempt to make the build work with dotnet build / dotnet msbuild, though.

  2. m0sa commented on Jan 10, 2018

    @m0sa
    Contributor

    Also the examples above are not supported by the tooling, see - dotnet/project-system#2670

  3. DaniilSokolyuk commented on Jan 11, 2018

    @DaniilSokolyuk
    ContributorAuthor

    Not supported, but works :)

  4. DaniilSokolyuk commented on Jan 11, 2018

    @DaniilSokolyuk
    ContributorAuthor

    @m0sa
    Sorry, i found problem
    Some *.cs files were encoded in 'windows-1251', i resave all files in utf8 and everything is working now

    but dotnet build, and vs studio build can build with any encoding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions