XamlParseException while creatng VSIX of DLL with embedded XAML files & image - exception

I want to create VSIX package of an SDK. SDK has two XAML page, one image & DLL. The VSIX project architecture is given below.
When I try to use that I am getting XamlParseException. Can you solve this problem ? Please don't give me any links. I already read Tim Heuer's article as well as MSDN doc.

Xaml files need to be in redist

Related

I am attempting to publish a windows forms application using visual studio win files in the solution

I am attempting to publish an application from visual studio that has files in the solution. After instilling the program and executing it I get this error.
Could not find file
'C\Users[User Name]\AppData\Local\Apps\2.0\7D4MADG.G94\9BLZYH2N.QOP\wdts..tion_0000000000000_0003.0000_8e564612a360b47a\wdAttrColSettings.xml
I need to know what I need to do to have the files in the Solution Items folder put in the wdts..tion_0000000000000_0003.0000_8e564612a360b47a folder when the application is installed.
In my brief experimentation in Visual Studio 2019, it doesn't look like you can copy Solution Items to the output directory.
This is, presumably, because there's no actual project (i.e. MSBuild or whatever) that would define those actions.
If you put those files inside one of the projects, you can use the "Copy to Output Directory" property.

view the code/functions of a DLL file

I need to view the code of a DLL file . I HAVE GONE THROUGH other posts where many tools like .net reflector, dotpeek , dependency walker were suggested .Also I tried using visual studio.
However , most of them support only .net module and my dll is not supported. None of the posts solved my problem.I am unable to view the code inside DLL. Please suggest.
You cannot see the source code of a compiled library. To see at least the published symbols and some more information, try Dependency Walker:
http://www.dependencywalker.com/

downloading jackson.codehaus.org jar

I need to download a json parser so I go to the jackson.codehaus.org website. Instead of a convenient link to click and download the jar/jars, they have me going in circles. Does anyone know where the jars are -- exactly?
You can use this link instead :
DOWNLOAD v2.9.7
More General Link
Or goto http://mvnrepository.com/ and search for 'jackson-core' .
If you click "Download" at the right edge of the screen, scroll down to "Downloads, 2.x" and click "Core", you'll get the direct download.
Here you can find the jackson libraries (version 2.4.0). I got these project from a tutorial where you can see how to implement jackson and the code and libraries are available to download too:
http://www.ibm.com/developerworks/java/library/j-hangman-app/index.html
Next alternative link : http://www.java2s.com/Code/Jar/j/Downloadjacksonall199jar.htm
You can find here the "AllIn" jars with complete list of included files. But latest version here is 1.9.9. so...
Please try
/repositories/snapshots/com/fasterxml/jackson/core
Goto relevant directory
jackson-annotations/
jackson-core/
jackson-databind/
Then open maven-metadata.xml file. You can find the directory of latest version there. Please note that all jars renamed with release date.
I know this question is 4 years old, but the Jackson library is still very hard to find, and even though Sujith PS' answer here leads to the core jar, that was not enough for me.
For anyone who's looking for the jar files for Core, Databind and Annotations, I found them here:
http://mvnrepository.com/artifact/com.fasterxml.jackson.core
Specifically for version 2.7.4:
jackson-core-2.7.4.jar
jackson-databind-2.7.4.jar
jackson-annotations-2.7.4.jar

The definition of base class ByteArrayAsset was not found

I'm using FlashDevelop4.0.0 RC1 to create AS3 library project, in which I want to import Away3D library. I follow this tutorial to set up my FD.
http://www.mclelun.com/blog/2011/08/flashdevelop-stage3d-away3d/
However, FD generate error message when I use ExportSWC4.2 plugin to compile the project, I got error message said that
at away3d\materials\methods\TerrainDiffuseMethod_NormalizeKernel.as(10): The definition of base class ByteArrayAsset was not found
Can anyone help me with that? Thanks!
p.s.
I also have issue like the following link
http://sourceforge.net/tracker/index.php?func=detail&aid=3401191&group_id=252536&atid=1127375
not sure if it's related to my problem.
Are you downloading the zip package from http://away3d.com/download/ or accessing via SVN / GIT?
http://away3d.com/images/uploads/releases/away3d_4_0_110915.zip
Not sure about their GIT, but I found the SVN repo dated.
I did not see ByteArrayAsset anywhere in the inheritance chain within my version:
away3d.materials.methods.TerrainDiffuseMethod
away3d.materials.methods.BasicDiffuseMethod
away3d.materials.methods.LightingMethodBase
away3d.materials.methods.ShadingMethodBase
mx.core.ByteArrayAsset is an Adobe class.
There's a NormalizeSplats Pixel Bender linkage, but I did not see any Normalize Kernel.
I'd recommend grabbing the Broomstick ZIP package - I had no issues building the SWC with Flash Builder targeting Flash Player 11.

Adding an external jar library to Intellij IDEA

I'm having a silly problem : I'm trying to add the Jsoup library (which is just an external jar) to my android application developed in Intellij Idea and it seems and don't do it right .
I put the library in the libs folder , then I went in Project Structure -> modules and selected dependencies , select add global library , select attach source and click ok.
When I write code it is able to automatically import classes and to compile , but when running I get " java.lang.NoClassDefFoundError: org.jsoup.Jsoup"
Copy the .jar file into your lib/ directory.
Right click the new .jar in the lefthand file browser in IntelliJ / Android Studio
Choose "Add as Library..."
Voila!
-Open the External Libraries node on the Left hand panel.
-Select Open Library Settings
-Project structure dialogue opens up.
Select the Libraries.
Click the "+" to browse the file.
![add external jar1
In IntelliJ IDEA 15 you can also access the Project Structure menu item from "File" item in the menu bar. Select Libraries from the list on the left. Click the "+" to browse the file, select it and you're done. It will be added to the "External Libraries" directory in your project.
Have a look at the newer artifacts section. Perhaps you don't add the JAR into your deployment properly.
UPDATE:
I'd like to update my answer based on lessons learned over the past six years since I first answered this question.
The best way to manage 3rd party JAR dependencies in Java projects is to learn Maven (my preference) or Gradle. IntelliJ has terrific integration with both.
If you combine those with an enterprise repository like Nexus you'll have no problems. Your dependencies and versions will be completely specified. Conflicts will be identified for you. Updates will be relatively simple.