Jump to content

[vb.net 2005] Erros ao fazer BUILD SOLUTION ...


rui_fernandes

Recommended Posts

Boas.

Encera VS.

Apaga tudo o que tens na directoria /Bin do teu projecto

Reabre projecto e recompila.

"The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod

Link to comment
Share on other sites

Mostra o codigo da linha 144 do FRMArtigosLista onde esta a acontecer o primeiro erro.

"The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod

Link to comment
Share on other sites

Troca por

Dim ds As New System.Data.DataSet1

 ver se resolve o problema

A classe DataSet pertence a varios namespace por isso tens que dizer qual estas a usar.

A crystalreport é a mesma coisa.

"The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod

Link to comment
Share on other sites

Boas.

Nunca me aconteceu o erro do ambigous mas tenho Imports System.Data.SqlClient em todos os forms que crio, de certeza que tens os imports tambem?

O meu projecto actual tem 4 projectos, 114 crystal reports, 143 forms, 8 datasets.

"The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod

Link to comment
Share on other sites

Imports System.Data.SqlClient 
Imports System.Data
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared

Com esses imports todos posso declara dim a new dataset1 sem problemas..

"The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod

Link to comment
Share on other sites

Faço sempre uma copia de segurança dos projectos ao fim do dia para dois discos.

Também usamos o Visual SourceSafe 2005 para fazer gestão de versões.

Segue o wizard do publish projecto, depois quanto terminar copia o setup.exe para o pc de destino para se funciona bem os reports.

"The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod

Link to comment
Share on other sites

Tenta isto

add new project > other project types > setup and deployment > setup project

selecionar setup1 no solution explorer > right-click > add > project output

left-click no primary output > Ok

as detected dependencies ficam preenchidas.

Abre o configuracao manager e e muda para release e e faz rebuild do projecto de setup.

na directoria de nome do projecto de setup\release\ ha 1 setup.exe e um nomedoprojectosetup.msi .

copia os dois e tenta instalar ver os reports funcionam.

"The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.