KIE workbench - missing TOOLS tab and data modeller - data-modeling

I am new to KIE Workbench and I am trying to create a test project following a step-by-step LinkToTheGuide
In this guide, step 9.2.3. Define Data Model, it asks me to select Data Modeller from the Tools menu.
In my Workbench I could not find this Tools menu nor Data Modeller...
enter image description here

Related

JetBrains Rider enable-migrations for ASP.NET MVC on mac

I have JetBrains Rider 2018.3 on macOS Mojave. I created an ASP.NET MVC project, installed entity framework 6.2. I added the connection string to web.config. But, I don't know how to configure app.config. I want to enable-migrations for this project to connect to the Microsoft SQL Server. I googled it and found this link Entity Framework Support in Rider. However, I am not able to find Tools | Entity Framework | Initial setup. I was wondering if you could help me to solve this issue.
After I have posted the question I read the link again. I noticed I missed the point project context menu. I right clicked on project name and I found Tools.
When you're done adding the EntityFramework nuget package, just right-click on the project, and use the Entity Framework options available. See my screenshot below.

What is the best way to display report without installing anything on client

I'm a newbie developer who develop a software for a company, although I am quite familiar with programming I rarely develop a software for a company, now after I join a company I started to get a problem creating a software.
I must develop a software that can be installed and updated on client computer easily, I solve this by using clickonce, then the problem arise, nearly all software I develop must have report viewer, I try using reportviewer from microsoft, but this give me more problem when installing, I try everything I found on the web to make a setup that easy to install, but I keep struggle when installing reportviewer, it keeps error on some computer although sometimes it install without error on other computer.
I need a suggestion how I can develope a program that can display a report and print it without install any other program on the client. I use C# on Visual Studio 2015, I develop WPF, and web using it.
Use nuget in your project and add the following dependencies to it
Microsoft.ReportViewer.2015.Runtime
Microsoft.ReportViewer.VS2015.WinForms
Launch your report viewer like this:
var dlg = new ReportPreviewDialog();
dlg.ReportViewer.LocalReport.DisplayName = "My report";
dlg.ReportViewer.LocalReport.DataSources.Add(new ReportDataSource("datasource1", data));
dlg.ReportViewer.LocalReport.DataSources.Add(new ReportDataSource("datasource2", data2));
dlg.ReportViewer.LocalReport.ReportEmbeddedResource = "YourClient.TheReport.rdlc";
dlg.ShowDialog();
TheReport.rdlc is your report as resource in your project (=> Build Action: Embedded Resource). Make sure the namespace is correct or your report won't be found.
Works with WPF.
Try to visit this Deploying Reports and ReportViewer Controls.
If the first option doesn't works you can try this step.
Go to your project properties or press (Alt + Enter).
Click the Publish tab.
On the Install Mode and Settings click Application Files button.
Find all Microsoft.ReportViewer dlls and select the Publish status to Include/Include (Auto).
Click OK.
Here is some image:
Application Files Form

Dynamics CRM 2011 Developer - error on build

In Visual Studio 2010, I created a dynamics package project (Y), and a dynamics plugin project (X), following the tutorial here:
http://inogic.blogspot.com/2011/11/crm-2011-developer-toolkit.html#comment-form
The Package Project (Y) references the plugin project (X).
After adding these 2 projects to the solution, I get this error on build:
The item "...\X.csproj" in item list "ProjectReference" does not
define a value for metadata "SilverlightApplication". In order to use
this metadata, either qualify it by specifying
%(ProjectReference.SilverlightApplication), or ensure that all items
in this list define a value for this metadata.
I have no idea how to fix this. Can anybody help ?
I looks like you have used the "Visual Studio Solution Template for Dynamics CRM 2011". This includes a Silverlight application. Generally i would recommend to only use the "Dynamics CRM 2011 Package" project in combination with the different projects you need for your solution.
Anyway - if you right click your CrmPackage project in Solution Explorer you can select "Edit project file". In this file you should find something like this:
<ProjectReference Include="..\SilverlightApplication\SilverlightApplication.csproj">
<Name>SilverlightApplication</Name>
<Project>{0da346e9-f8fc-4f24-92b5-73832c037b3d}</Project>
<Private>False</Private>
<SilverlightApplication>True</SilverlightApplication>
<SilverlightVersion>v4.0</SilverlightVersion>
</ProjectReference>
You could try to remove this section, but remember to do a backup first. After you have edited this file you have to right click your project again and select reload project.
I figured out what the problem was.
Dynamics CRM 2011 Developer Toolkit does not accept virtual folders in the Visual Studio 2010 solution. Each project that is part of the CRM Package must be at top level, directly under the solution.
Otherwise, the error mentioned will pop up.

How to Deploy WPF application using MSI

I have a WPF C# desktop application that will need to be deployed as MSI (Windows Installer deployment, not ClickOnce deployment) in VS2010. My application will generate SQL CE database in run-time, manipulate Excel Workbook, and receive/transmit data from/to COM Port - so I don't know what is the appropriate way to deploy such an application.
I am looking at Windows Installer Deployment Tasks which doesn't help me to get started.
Could anyone show me some resources that give instructions on how to deploy an application as an MSI installer?
If you don't want ClickOnce, then you'll probably need to create your own MSI. In that case, you can use:
The built-in Setup project type in Visual Studio. It does a decent job but has limitations. Works very well if you don't have many dependencies or custom actions.
A commercial tool like InstallShield
WIX (Windows Installer XML)
I've tried both 1 and 3. While WIX has a little bit of a learning curve, it is a very rich way to do what you want to do. There is a fair bit of documentation available and some very nice "out of the box" wizard sequences to handle your standard install scenarios (licenses, feature selection, dependencies, etc). WIX does have some VS integration that works quite well.
You can find out more on WIX at http://wix.sourceforge.net/
Note:
The VS setup project can do custom actions, and install dependencies, but you have to use custom actions. If you want to parameterize the custom actions, then you'll need to find the not-so-intuitive instructions on that topic.
The other limitation of the VS setup project is that the setup project can only be compiled to an MSI by VS (devenv.exe). That means that the MSI cannot be compiled on a build server unless you install Visual Studio there too. This was a show stopper for me, so I switched to WIX and was very happy with the result.
For those like me who found this post after searching high and low for how to deploy an MSI these days, you now need an extension as the visual studio team removed the built in startup project functionality. You now need to download the Visual Studio Installer Projects extension.
See this user voice post for discussion of the removal, and here is a link to the extension.
Useful for people looking for a quick solution to generating an MSI through Visual Studio rather than getting deep into Wix (although if you need more advanced deployment options, definitely go that route).
Configure your WPF application to publish as a ClickOnce application. You can do that in the 'Publish' tab of the project properties.
If you use the 'Publish Wizard' (by clicking on the aptly named button on the properties page) you can specify (on the second page) that the user will install 'From a CD-ROM or DVD-ROM'. This option will produce a setup.exe file in the publish sub-folder of your project output directory. This setup.exe program when launched by your user will install the WPF application. You may choose to include an update functionality (but you don't have to).
The ClickOnce settings also allow you to include additional files (e.g., your SQL CE database file) and pre-requisites if necessary.

Database visualization tool

I just watched a session of PDC09 about new features of Entity framework in .NET 4.
Video page: http://microsoftpdc.com/Sessions/FT10
in the video, (seek to minute 7) presenter used a database visualzation tool to open table and view data.
Does anyone know what's the name of it and where I can download?
It looks like Microsoft Quadrant. I believe he says it in the video as well.

Resources