timheuer / callisto

A control toolkit for Windows 8 XAML applications. Contains some UI controls to make it easier to create Windows UI style apps for the Windows Store in accordance with Windows UI guidelines.
http://timheuer.com/blog/archive/2012/05/31/introducing-callisto-a-xaml-toolkit-for-metro-apps.aspx
Other
338 stars 108 forks source link

Payload file error #151

Closed tallichet closed 11 years ago

tallichet commented 11 years ago

I have a Compilation error since I've updated to Callisto v1.2.6

The error says:

Payload file [...]Win8-Common\Common\bin\Debug\Callisto\themes\Generic.xaml' does not exist.

If I add a Generic.xaml file, I have the following error.

Payload contains two or more files with the same destination path 'Callisto\themes\Generic.xaml'. Source files: 
[...]App\bin\Debug\Callisto\themes\Generic.xaml
[...]packages\Callisto.1.2.6\lib\winrt45\Callisto\themes\Generic.xaml

App is my main project. Win8-Common is a lib project.

I have not found a way to corretly clean the error

timheuer commented 11 years ago

How are you adding a reference. You must use either the NuGet mechanism or the Extension SDK. My suspicion is you are referencing the DLL directly only?

tallichet commented 11 years ago

I used nuget. I used the solution tools that allow to add/remove package for any projects from a global view.

timheuer commented 11 years ago

Hmm, can you set up a sample solution that emulates your setup for me? I think I may know the issue, but just want to make sure.

tallichet commented 11 years ago

I'll try to reproduce it tomorrow

tallichet commented 11 years ago

I'm unable to reproduce. But I fixed it in my project by adding Callisto to all my projects. the problem was due to projects using a lib using Callisto but without referencing Callisto themselves.