# HG changeset patch
# User cavaliet
# Date 1252936437 -7200
# Node ID b23aa9d09ac14d39aede45073d8363cada7a2e42
# Parent 50f07513949739a492f5db1cf33e9511f14d502e
debug for video path
diff -r 50f075139497 -r b23aa9d09ac1 src/FingersDance.Control.Player/FingersDance.Control.Player.csproj
--- a/src/FingersDance.Control.Player/FingersDance.Control.Player.csproj Sun Sep 13 12:23:40 2009 +0200
+++ b/src/FingersDance.Control.Player/FingersDance.Control.Player.csproj Mon Sep 14 15:53:57 2009 +0200
@@ -133,9 +133,9 @@
PreserveNewest
-
+
PreserveNewest
-
+
diff -r 50f075139497 -r b23aa9d09ac1 src/FingersDance.Control.Player/UserControlPlayer.xaml.cs
--- a/src/FingersDance.Control.Player/UserControlPlayer.xaml.cs Sun Sep 13 12:23:40 2009 +0200
+++ b/src/FingersDance.Control.Player/UserControlPlayer.xaml.cs Mon Sep 14 15:53:57 2009 +0200
@@ -9,6 +9,7 @@
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using System.ComponentModel;
+using System.Reflection;
namespace FingersDance.Control.Player
{
@@ -55,8 +56,10 @@
//init player
isPlaying = false;
//Pour se diriger vers le Dossier ressources du projet et non le bin/ressources
- DirectoryInfo info = Directory.GetParent(@".");
- MediaElementVideo.Source = new Uri(@"" + info.Parent.FullName.ToString() + "\\Resources\\Lake.wmv", UriKind.Relative);
+ //DirectoryInfo info = Directory.GetParent(@".");
+ FileInfo assemblyPath = new FileInfo(Assembly.GetExecutingAssembly().Location);
+ DirectoryInfo info = assemblyPath.Directory;
+ MediaElementVideo.Source = new Uri(@"" + info.FullName.ToString() + "\\Resources\\Lake.wmv", UriKind.Relative);
MediaElementVideo.LoadedBehavior = MediaState.Manual;
MediaElementVideo.UnloadedBehavior = MediaState.Manual;
MediaElementVideo.ScrubbingEnabled= true;
diff -r 50f075139497 -r b23aa9d09ac1 src/FingersDance.sln
--- a/src/FingersDance.sln Sun Sep 13 12:23:40 2009 +0200
+++ b/src/FingersDance.sln Mon Sep 14 15:53:57 2009 +0200
@@ -27,6 +27,8 @@
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingersDance.Debug", "FingersDance.Debug\FingersDance.Debug.csproj", "{148FE4AA-2C30-4D08-9291-BF22023F0AAA}"
EndProject
+Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Setup", "Setup\Setup.vdproj", "{C31FBAA9-272D-49FA-A058-0C01A49A0A33}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -131,6 +133,10 @@
{148FE4AA-2C30-4D08-9291-BF22023F0AAA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{148FE4AA-2C30-4D08-9291-BF22023F0AAA}.Release|Any CPU.Build.0 = Release|Any CPU
{148FE4AA-2C30-4D08-9291-BF22023F0AAA}.Release|x86.ActiveCfg = Release|Any CPU
+ {C31FBAA9-272D-49FA-A058-0C01A49A0A33}.Debug|Any CPU.ActiveCfg = Debug
+ {C31FBAA9-272D-49FA-A058-0C01A49A0A33}.Debug|x86.ActiveCfg = Debug
+ {C31FBAA9-272D-49FA-A058-0C01A49A0A33}.Release|Any CPU.ActiveCfg = Release
+ {C31FBAA9-272D-49FA-A058-0C01A49A0A33}.Release|x86.ActiveCfg = Release
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff -r 50f075139497 -r b23aa9d09ac1 src/FingersDance/FingersDance.csproj
--- a/src/FingersDance/FingersDance.csproj Sun Sep 13 12:23:40 2009 +0200
+++ b/src/FingersDance/FingersDance.csproj Mon Sep 14 15:53:57 2009 +0200
@@ -117,7 +117,9 @@
PreserveNewest
-
+
+ Always
+
diff -r 50f075139497 -r b23aa9d09ac1 src/FingersDance/FingersDance.xml
--- a/src/FingersDance/FingersDance.xml Sun Sep 13 12:23:40 2009 +0200
+++ b/src/FingersDance/FingersDance.xml Mon Sep 14 15:53:57 2009 +0200
@@ -11,7 +11,7 @@
FingersDance
FingersDance
- FingersDance.exe
+ %ProgramFiles%\Microsoft Surface\FingersDance\FingersDance.exe
Resources\icon.png
diff -r 50f075139497 -r b23aa9d09ac1 test/Control.UserPanel.Test/Control.UserPanel.Test/Control.UserPanel.Test.csproj
--- a/test/Control.UserPanel.Test/Control.UserPanel.Test/Control.UserPanel.Test.csproj Sun Sep 13 12:23:40 2009 +0200
+++ b/test/Control.UserPanel.Test/Control.UserPanel.Test/Control.UserPanel.Test.csproj Mon Sep 14 15:53:57 2009 +0200
@@ -100,7 +100,9 @@
PreserveNewest
-
+
+ Always
+
diff -r 50f075139497 -r b23aa9d09ac1 test/Control.UserPanel.Test/Control.UserPanel.Test/SurfaceWindow1.xaml
--- a/test/Control.UserPanel.Test/Control.UserPanel.Test/SurfaceWindow1.xaml Sun Sep 13 12:23:40 2009 +0200
+++ b/test/Control.UserPanel.Test/Control.UserPanel.Test/SurfaceWindow1.xaml Mon Sep 14 15:53:57 2009 +0200
@@ -14,9 +14,8 @@
-
-
-
+
+