How to hide obj folder from WPF project - wpf

I don't know why but since yesterday I have the obj folder that appears in white in my wpf project workspace and I don't know how to hide it. This directory contains the g.i.cs file generated from .xaml file.
Does anyone knows how to hide it ?

Look for the Show All Files icon in the Solution Explorer window:
It shows/hides the files which are in the project folder but not included in the project itself.

Related

PNG Texture File from Blender instead of a mtl file

I was trying out ARCore by Google. But I'm not able to export my 3D Model in Blender to a obj and png combination instead of the default obj and mtl combination. I'm kinda new to Blender. I also tried this from Stack Exchange but with no avail.
If you are trying to user the ARCore this maybe be a solution if your focus is Sceneform.
After export the .obj and .mtl create a folder in Android using the Sample Data Directory (to avoid this making part of your project)
Inside this folder add the .obj and .mtl
Go to Android Preferences > Plugins and search for "Google Sceneform Tools (Beta)"
Clicking with the right button on the .obj you can select "Import Sceneform Asset"
This will create the .sfb and .sfa file, already ready to use.
And in your App Gradle you should find new lines like this:
sceneform.asset('sampledata/NAME_OF_FILE.obj',
'default',
'sampledata/NAME_OF_FILE.sfa',
'src/main/assets/NAME_OF_FILEl')

Linking EXE files from IBM WCM not working. Linking any Images, PDFs works fine

We have a WCM COntent Library. Inside the "Components" area, we have created an EXE folder as seen below. This exe folder contains exe files.
Now, whenever I am trying to place a link to the .exe files on any HTML page, Link is generated but when viewed in browser, it throws 404 error.
As seen the HREF value seems fine but not sure why this doesn't works. Also When i create a link to any other Components ( Images: JPG, GIF, PDFs) the links work perfectly normal. Why this is NOT working for EXE files ?
Use Insert link button in Presentation template to create a link to the File component having exe file.
Firebug element
test
Same gets generated in template as well
<a title="" target="" href="/wps/wcm/myconnect/5f6187f3-1b17-43d8-87d1-fbbc19de1863/cfg.exe?MOD=AJPERES&CVID=laxoBjd&useDefaultText=1&useDefaultDesc=0&CVID=laxoBjd">test</a>
Portal is 8.5

DNN custom skin and css deployment

I am new to this and trying to figure this out. I have created a internal.ascx page and a Internal.css file for my internal page for a website. If I create a new page in DNN and apply this new skin it doesnt seem to apply the CSS. I copied the both ascx and css file to the _default/Skins/ folder.
Have also tried adding in the css via the following code
<dnn:DnnCssInclude runat="server" FilePath="/Internal.css" PathNameAlias="SkinPath" />
Nothing seems to be working. Have cleared my cache and tried different machine to view the page. But the style is still not coming through.
Thanks in advance
Create a new folder in the _default/Skins/. For example, call the folder "Internal" (/Portals/_default/Skins/Internal). Copy your ascx and css skin files into there. Rename the css to "skin.css". You shouldn't need to reference it in the ascx since DNN will pick it up based on the name.
Also, the reason your CSS include statement may not have worked was because filepath "/Internal.css" was probably trying to look for it in the root of the website. I would think it would simply be "Internal.css". But you could verify in Firebug what path it generated.

VisualStudio WPF. Adding a folder into output directory

I need to create a Folder with Wallpapers. This needs to be placed into the output directory so that users can then add their own images.
So my question is:
How can i place a folder in my output directory? (this should work in debug and release)
For the second part of the question I can handle on my own, which would be to bring all the items in that folder and present it to the user to chose.
Setting items in the folder in your project (assuming you have some default wallpapers) to Build Action = Content, Copy to Output Directory = Copy Always/Copy if Newer will place them inside that same folder structure in your output directory. If you don't already have files there you could add something like a ReadMe.txt with instructions on adding images that could serve the same purpose.
Add a folder to your project and then set its Copy To Output Directory property appropriately.

Swf file cannot load another swf files (with relative paths) in WPF AxShockwaveFlash control (hosted in WindowsFormsHost control)

I am using an AxShockwaveFlash control in WPF (hosted in WindowsFormsHost).
I have a player.swf file which uses external swf files from a folder (the path of the folder is relative to the player.swf file and the player.swf file works with this relative path).
I would like to play the player.swf file in the AxShockwaveFlash control but it cannot find the external swf files in the folder which is given by a relative path.
How can I solve this problem?
axShockwaveFlash.Base sets the directory that the .swf will look for its resources.
Note that a path like #"C:\Resoruces" doesn't seem not work, a trailing backslash is required.
#"C:\Resource\"

Resources