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

Following the Pluralsight course with the updated Linker #4

Open
McDoit opened this issue Oct 16, 2019 · 1 comment
Open

Following the Pluralsight course with the updated Linker #4

McDoit opened this issue Oct 16, 2019 · 1 comment
Labels

Comments

@McDoit
Copy link

McDoit commented Oct 16, 2019

Hello!

I'm following your Pluralsight course, and trying to follow with Linker at the same time

But now i assume the project structure is a bit different?
I get the following error, so it still seems to reference the past project files?

Build FAILED.

"D:\Development\Linker\src\Linker.sln" (Build target) (1) ->
(Build target) -> 
  D:\Development\Linker\src\Linker.sln.metaproj : error MSB3202: The project file "D:\Development\Linker\src\Web\Web.csproj" was not found. [D:\Development\Linker\src\Linker.sln]
  D:\Development\Linker\src\Linker.sln.metaproj : error MSB3202: The project file "D:\Development\Linker\src\Tests\Tests.csproj" was not found. [D:\Development\Linker\src\Linker.sln]
  D:\Development\Linker\src\Linker.sln.metaproj : error MSB3202: The project file "D:\Development\Linker\src\Model\Model.csproj" was not found. [D:\Development\Linker\src\Linker.sln]

when running the following build.cake

Task("Build")
    .Does(() =>
    {
        DotNetBuild("src/Linker.sln", settings => settings.SetConfiguration("Debug")
                                                          .WithTarget("Build"));
    });


    RunTarget("Build");
@ecampidoglio
Copy link
Owner

ecampidoglio commented Oct 21, 2019

Linker has evolved since the release of the Pluralsight course to take advantage of the features introduced by later versions of Cake.

The code contained in the course is still available in the pluralsight-net4.6 and pluralsight-netcore1.0 branches, so you'll want to refer to those to follow along.

I wrote a bit about the evolution of Linker in the Platform section of the README file.

I hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants