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

Referencing XAML resources #1260

Closed
sergey-tihon opened this issue Nov 26, 2015 · 5 comments
Closed

Referencing XAML resources #1260

sergey-tihon opened this issue Nov 26, 2015 · 5 comments

Comments

@sergey-tihon
Copy link
Member

When I you reference to MahApps.Metro.Resources

Paket add following code into project file

    <Content Include="Resources\Icons.xaml">
      <Paket>True</Paket>
    </Content>

In the same time NuGet add it like

    <Page Include="Resources\Icons.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>

As a result when MSBuild does not compile xaml file and application crashes in the runtime when tries to load resources.

@sergey-tihon
Copy link
Member Author

One more note, project previously used NuGet, it contains <Page> node, so Paket added duplicate files with <Content> nodes.

As well as Paket adds

<Content Include="Resources\Entypo.ttf">
      <Paket>True</Paket>
</Content>

even if NuGet already added this as

<Resource Include="Resources\Entypo.ttf" />

(leads to duplication in file explorer)

@forki
Copy link
Member

forki commented Nov 26, 2015

I assume our xaml support is pretty poor (read as non-existent). We could
need some help here.
On Nov 26, 2015 11:09, "Sergey Tihon" [email protected] wrote:

One more note, project previously used NuGet, it contains node, so
Paket added duplicate files with nodes.

As well as Paket adds

True

even if NuGet already added this as

(leads to duplication in file explorer)


Reply to this email directly or view it on GitHub
#1260 (comment).

@sergey-tihon
Copy link
Member Author

Not sure that I know how to support all cases...

  • Migration from NuGet
  • Install dependencies correctly
  • Track/Update such dependencies

Could please mark this issues and up-for-grabs and mention some files that should be changed according to you feelings 😏

@forki
Copy link
Member

forki commented Nov 27, 2015

@forki
Copy link
Member

forki commented Dec 29, 2015

ping

sergey-tihon added a commit to sergey-tihon/Paket that referenced this issue Mar 28, 2016
@forki forki closed this as completed Mar 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants