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

Compile Errors #66

Open
nopara73 opened this issue Nov 12, 2020 · 2 comments
Open

Compile Errors #66

nopara73 opened this issue Nov 12, 2020 · 2 comments

Comments

@nopara73
Copy link

There are a few build errors in the UI project. My development environment is Visual Studio 2019.

Severity	Code	Description	Project	File	Line	Suppression State
Error	XDG0008	The name "ColourToBrushConverter" does not exist in the namespace "clr-namespace:Cm93.UI.Converters".	Cm93.UI	App.xaml	2	
Severity	Code	Description	Project	File	Line	Suppression State
Error		The tag 'Arc' does not exist in XML namespace 'clr-namespace:Microsoft.Expression.Shapes;assembly=Microsoft.Expression.Drawing'. Line 84 Position 6.	Cm93.UI	C:\Users\user\Desktop\Cm93\Cm93.UI\Modules\Match\MatchView.xaml	84	

image

@lifebeyondfife
Copy link
Owner

Hi @nopara73. This is project is a bit abandoned now I'm afraid. I took on too much to finish with not enough time to spend on it, so it hasn't been maintained. The last IDE that built it was Visual Studio 2017 a couple of years ago, and I cannot remember what version of .Net it used. Thanks for the interest though -- all the missing artifacts the build is complaining are missing are there in the code e.g. HoopsConverter is code to colour shirt icons in a hoop design. I don't know to change the xaml or csproj files etc. to get it working again but it might be possible.

@nopara73
Copy link
Author

I had a nostalgic gaming episode with CM0304 and got pissed off by a bug that trashed my save, so naturally I started to look for its source code to fix the bug, which led me here 😄

FTR I got it to build by installing the Expression Blend SDK and referencing it directly in the UI project like this:

    <Reference Include="Microsoft.Expression.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\..\..\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\Microsoft.Expression.Drawing.dll</HintPath>
    </Reference>

Unfortunately it still doesn't run due to some exceptions, but I may make a PR and resolve my own issues later if I get far enough playing with it.

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

No branches or pull requests

2 participants