I've created a fresh Portable Class Library in Visual Studio 2012 (as per the instructions)
I've also tried lowering the Target Framework to .Net 4
I then proceed to run
PM> Install-Package MvvmCross.HotTuna.StarterPack
But it's throwing an error
Attempting to resolve dependency 'MvvmCross.HotTuna.MvvmCrossLibraries
(≥ 3.0.10)'. Attempting to resolve dependency
'MvvmCross.HotTuna.CrossCore (≥ 3.0.10)'. Attempting to resolve
dependency 'MvvmCross.PortableSupport (≥ 3.0.10)'. Installing
'MvvmCross.PortableSupport 3.0.10'. Successfully installed
'MvvmCross.PortableSupport 3.0.10'. Installing
'MvvmCross.HotTuna.CrossCore 3.0.10'. Successfully installed
'MvvmCross.HotTuna.CrossCore 3.0.10'. Installing
'MvvmCross.HotTuna.MvvmCrossLibraries 3.0.10'. Successfully installed
'MvvmCross.HotTuna.MvvmCrossLibraries 3.0.10'. Installing
'MvvmCross.HotTuna.StarterPack 3.0.10'. Successfully installed
'MvvmCross.HotTuna.StarterPack 3.0.10'. Adding
'MvvmCross.PortableSupport 3.0.10' to FutureStateDemo.Core.
Uninstalling 'MvvmCross.PortableSupport 3.0.10'. Successfully
uninstalled 'MvvmCross.PortableSupport 3.0.10'. Install failed.
Rolling back... Could not install package 'MvvmCross.PortableSupport
3.0.10'. You are trying to install this package into a project that targets 'portable-win+net45+sl40+wp', but the package does not contain
any assembly references or content files that are compatible with that
framework. For more information, contact the package author.
What does it take to get this starter pack up and running?
I'm pretty sure MvvmCross no longer has support for Windows Phone 7, so you can't target that in the PCL.
You have to pick the Windows Phone 7.5 target framework instead.
Related
I am trying to install MySQL.Web in my Project but it throw me error
Error:
'MySql.Data' already has a dependency defined for 'Google.Protobuf'.
I try both way to install it.
By rigth click on project -> Manage NuGet Packages
by writing Install-Package MySql.Data in Package Manager Control.
But it throw me same error at both time.
I am using Visual Studio 2012
Thanks in Advance.
Check for the Framework you are using and the Dependency list.
I tried to install it Console Application in target Framework 4.5.2 and it worked.
If you want to run in framework 4.5 then try installing package with version 6.9.12 Because the newest packages have dependencies and also they don't work in framework 4.5.2
You can check the dependencies from MySql.Data
I download with wget and unzip.After Go v4.5 and install with gacutil /i MySql.Data.dlland itry compile with gmcs -r:System.dll -r:System.Data.dll -r:MySql.Data.dll Sql.cs
And i get this error
error CS0006: cannot find metadata file `MySql.Data.dll'
Compilation failed: 1 error(s), 0 warnings
I solve this problem with MySql.Data package if you have problems with MySql.Data.dll you can install MySql.Data package with nuget package manager.
I am following the installation guide: http://cordova.apache.org/docs/en/3.0.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide
As aa early info this is my issue.
C:\apps\hello>cordova platform add android
[Error: An error occured during creation of android sub-project.
Creating Cordova project for the Android platform:
Command failed to execute : ant jar
This is what i did:
I installed all Java Dev packages (everything)
I installed Apache ANT, and created the environment variables (they work)
I created environment variables for PATH for the adt-bundle
All i want is to
cordova platform add android
cordova emulate android
This is due to ANT tools could not find tools.jar in JRE lib directory. When I copied tools.jar from JDK lib directory to JRE lib directory, the problem was absolutely solved and the build was successful when I ran the command "cordova -d platform add android". Hope this helps you.
I got the same issue today. upon research I found that I need to install JDK instead of JRE.
Install JDK from this link
After installation, set the JAVA_HOME to C:\Program Files\Java\jdk1.7.0_45 [your JDK Path].
Hope this helps!!
I installed the JRE instead of the JDK... Im no expert on Java installations, but this was my error.
Jenkins (Hudson) has StarTeam plugin. How to configure it properly?
I have installed this plugin but when I build the project I get this error:
java.lang.NoClassDefFoundError: com/starbase/starteam/Folder
Machine is Windows Server 2008.
I have StarTeam SDK installed in C:\Program Files (x86)\Borland\StarTeam SDK 10.4 folder.
There is a hint on plugin documentation page:
The plugin requires the StarTeam SDK, StarTeam extensions and jsafe libraries in Hudson's classpath. These files are included in the freely downloadable StarTeam SDK package from Borland (Micro Focus) , and may be installed by e.g. dropping them in Hudson's WEB-INF/lib directory.
Copy the folder "C:\Program Files (x86)\Borland\StarTeam SDK 10.4\Lib" to "C:\Jenkins\plugins\starteam\WEB-INF" (so there would be a Lib folder under WEB-INF), and restart Jenkins.
If you get "Can't load IA 32-bit .dll on a AMD 64-bit platform" error:
Uninstall JRE (Java Runtime Environment) for Windows x64, install 32-bit version of JRE.
Jenkins (Hudson) has StarTeam plugin. How to configure it properly?
I have installed this plugin but when I build the project I get this error:
java.lang.NoClassDefFoundError: com/starbase/starteam/Folder
Machine is Windows Server 2008.
I have StarTeam SDK installed in C:\Program Files (x86)\Borland\StarTeam SDK 10.4 folder.
There is a hint on plugin documentation page:
The plugin requires the StarTeam SDK, StarTeam extensions and jsafe libraries in Hudson's classpath. These files are included in the freely downloadable StarTeam SDK package from Borland (Micro Focus) , and may be installed by e.g. dropping them in Hudson's WEB-INF/lib directory.
Copy the folder "C:\Program Files (x86)\Borland\StarTeam SDK 10.4\Lib" to "C:\Jenkins\plugins\starteam\WEB-INF" (so there would be a Lib folder under WEB-INF), and restart Jenkins.
If you get "Can't load IA 32-bit .dll on a AMD 64-bit platform" error:
Uninstall JRE (Java Runtime Environment) for Windows x64, install 32-bit version of JRE.