charri / Font-Awesome-WPF

FontAwesome controls for WPF+UWP
MIT License
530 stars 147 forks source link

Example project doesn't build. #19

Closed sebascomeau closed 8 years ago

sebascomeau commented 8 years ago

The example project doesn't build.

Here's the error list:

image

punker76 commented 8 years ago

@sebascomeau that's cause the example resolves the NuGet dll and doesn't use the compiled dll. For fast workaround, just compile the FontAwesome dll by yourself and reference it manually.

charri commented 8 years ago

@sebascomeau as this problem has occured in the past, the example project now references the FontAwesome project in the src folder instead of the nuget. Pull to get the latest and greatest! :+1: :)

CADbloke commented 8 years ago

Build is still broken. But thanks for making this.

Steps to repo...

  1. Clone
  2. Open Font-Awesome-WPF\example\Example.FontAwesome.WPF.sln
  3. Build.
  4. Tried restoring Nuget etc. Nup.

fontawesomewpfexamplebuilderrors

1>------ Build started: Project: FontAwesome.WPF.NET40, Configuration: Debug Any CPU ------
1>Build started 12/01/2016 7:05:36 PM.
1>ResolveAssemblyReferences:
1>  A TargetFramework profile exclusion list will be generated.
1>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets(711,5): error BG1002: File '..\..\Font-Awesome\fonts\FontAwesome.otf' cannot be found.
1>
1>Build FAILED.
charri commented 8 years ago

this is because the FontAweseom submodul is not loaded:

git clone --recursive git://github.com/foo/bar.git
CADbloke commented 8 years ago

Thanks. LUser.FAIL - Tortoisegit doesn't do that automagically,

For all you other LUsers out there - http://stackoverflow.com/questions/16058917/pulling-git-submodules-with-tortoisegit

TGit has a ticket open for this: https://gitlab.com/tortoisegit/tortoisegit/issues/1888